/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef ALLIANCE_TOOLCTRL_H
#define ALLIANCE_TOOLCTRL_H

#include <wx/wx.h>

namespace alliance
{
    class ToolCtrl : public wxPanel
    {
    public:
        ToolCtrl( wxWindow *parent, wxWindowID id );
        virtual ~ToolCtrl();
        virtual bool IsOk() const=0;
        virtual const wxString &GetKey();
        virtual void SetText( const wxString &text )=0;
        virtual wxString GetText() const=0;
    protected:
        wxString m_key;
    private:
    };
}

#endif //ALLIANCE_TOOLCTRL_H
